Other Classes
The following classes are available globally.
-
Represents the coordinate information returned by the
See morecoordinateInfoForPixel
orcoordinatesInfoForPixels
methods.Declaration
Objective-C
@interface MBMCoordinateInfo : NSObject
Swift
class CoordinateInfo : NSObject
-
Note! This is an experimental feature. It can be changed or removed in future versions.
CustomLayerHost declares, by returning this from CustomLayerHost’s prerender, what kind of rendering it intends to do in the very next frame. If there is need for rendering to tile textures, declare if all tiles need to be re-rendered because e.g. underlying data changed.
See moreDeclaration
Objective-C
@interface MBMCustomLayerRenderConfiguration : NSObject
Swift
class CustomLayerRenderConfiguration : NSObject
-
Undocumented
See moreDeclaration
Objective-C
@interface MBMGeoJSONSourceData : NSObject - (nonnull instancetype)initWithValue:(nonnull id)value __attribute__((deprecated("Please use: '+from{TypeName}:' instead."))); + (nonnull instancetype)fromGeometry:(nonnull MBXGeometry *)value; + (nonnull instancetype)fromFeature:(nonnull MBXFeature *)value; + (nonnull instancetype)fromNSArray:(nonnull NSArray<MBXFeature *> *)value; + (nonnull instancetype)fromNSString:(nonnull NSString *)value; - (BOOL)isGeometry; - (BOOL)isFeature; - (BOOL)isNSArray; - (BOOL)isNSString; - (nonnull MBXGeometry *)getGeometry __attribute((ns_returns_retained)); - (nonnull MBXFeature *)getFeature __attribute((ns_returns_retained)); - (nonnull NSArray<MBXFeature *> *)getNSArray __attribute((ns_returns_retained)); - (nonnull NSString *)getNSString __attribute((ns_returns_retained)); @property (nonatomic, nonnull) id value; @property (nonatomic, readonly) MBMGeoJSONSourceDataType type; @end
Swift
class GeoJSONSourceData : NSObject
-
Undocumented
See moreDeclaration
Objective-C
@interface MBMMapMemoryBudget : NSObject - (nonnull instancetype)initWithValue:(nonnull id)value __attribute__((deprecated("Please use: '+from{TypeName}:' instead."))); + (nonnull instancetype)fromMapMemoryBudgetInMegabytes:(nonnull MBMMapMemoryBudgetInMegabytes *)value; + (nonnull instancetype)fromMapMemoryBudgetInTiles:(nonnull MBMMapMemoryBudgetInTiles *)value; - (BOOL)isMapMemoryBudgetInMegabytes; - (BOOL)isMapMemoryBudgetInTiles; - (nonnull MBMMapMemoryBudgetInMegabytes *)getMapMemoryBudgetInMegabytes __attribute((ns_returns_retained)); - (nonnull MBMMapMemoryBudgetInTiles *)getMapMemoryBudgetInTiles __attribute((ns_returns_retained)); @property (nonatomic, nonnull) id value; @property (nonatomic, readonly) MBMMapMemoryBudgetType type; @end
Swift
class MapMemoryBudget : NSObject
-
Map memory budget in megabytes.
See moreDeclaration
Objective-C
@interface MBMMapMemoryBudgetInMegabytes : NSObject
Swift
class MapMemoryBudgetInMegabytes : NSObject
-
Map memory budget in tiles.
See moreDeclaration
Objective-C
@interface MBMMapMemoryBudgetInTiles : NSObject
Swift
class MapMemoryBudgetInTiles : NSObject
-
Geometry for querying rendered features.
See moreDeclaration
Objective-C
@interface MBMRenderedQueryGeometry : NSObject
Swift
class RenderedQueryGeometry : NSObject
-
Various options needed for tile cover
See moreDeclaration
Objective-C
@interface MBMTileCoverOptions : NSObject
Swift
class TileCoverOptions : NSObject
-
Describes the style package load option values for a list of tilesets.
See moreDeclaration
Objective-C
@interface MBMTilesetDescriptorOptionsForTilesets : NSObject
Swift
class TilesetDescriptorOptionsForTilesets : NSObject
-
Various options needed for displaying view annotation.
See moreDeclaration
Objective-C
@interface MBMViewAnnotationOptions : NSObject
Swift
class ViewAnnotationOptions : NSObject
-
Read-only data that is needed to correctly position the single view annotation on screen. Used inside ViewAnnotationPositionsUpdateListener callback to notify the listener about the visible view annotations’ position updates.
See moreDeclaration
Objective-C
@interface MBMViewAnnotationPositionDescriptor : NSObject
Swift
class ViewAnnotationPositionDescriptor : NSObject
-
Undocumented
See moreDeclaration
Objective-C
@interface MBMMapRecorder : NSObject // This class provides custom init which should be called - (nonnull instancetype)init NS_UNAVAILABLE; // This class provides custom init which should be called + (nonnull instancetype)new NS_UNAVAILABLE; /** * Initializes the map recorder object. * * @param map The `map` to record. */ - (nonnull instancetype)initWithMap:(nonnull MBMMap *)map; /** Begins the API call sequence recording. */ - (void)startRecording; /** * Stops the current recording session. * * @return a JSON string which contains the recorded sequence. */ - (nonnull NSString *)stopRecording __attribute((ns_returns_retained)); - (void)replayForContent:(nonnull NSString *)content playbackCount:(int32_t)playbackCount playbackSpeedMultiplier:(double)playbackSpeedMultiplier callback:(nonnull MBMPlaybackFinished)callback; /** Temporarily pauses or resumes playback if already paused. */ - (void)togglePauseReplay; /** Returns the string description of the current state of playback. */ - (nonnull NSString *)getPlaybackState __attribute((ns_returns_retained)); @end
Swift
class MapRecorder : NSObject
-
Undocumented
See moreDeclaration
Objective-C
@interface MBMVersion : NSObject // This class provides custom init which should be called - (nonnull instancetype)init NS_UNAVAILABLE; // This class provides custom init which should be called + (nonnull instancetype)new NS_UNAVAILABLE; + (uint32_t)getMajorVersion; + (uint32_t)getMinorVersion; + (uint32_t)getPatchVersion; + (nonnull NSString *)getVersionString __attribute((ns_returns_retained)); + (nonnull NSString *)getRevisionString __attribute((ns_returns_retained)); @end
Swift
class Version : NSObject